import request from '@/utils/request'

export function getEmrCaseOrMsg(caseIdOrName){
    const data = {
        caseIdOrName: caseIdOrName
    }
    return request({
        url: '/emrcase/msg/list',
        params: data,
        method: 'get'
    })
}

export function addMsg(emrcaseMsg){
    return request({
        url: '/msg/add',
        params: emrcaseMsg,
        method: 'post'
    })
}